package cate.common.table.area;


import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteField;

public class AreaCityRow extends ERow {
    @NoteField("code")
    public int code;

    @NoteField("名称")
    public String name;

    @NoteField("从属code")
    public int belongCode;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("code", -1);
        this.code = xrw.getInteger("code");
        this.name = xrw.getString("名称");
        this.belongCode = xrw.getInteger("从属code");
    }
}
